import request from '@/utils/request'

// 查询复审列表
export function findSecondTrialList(data) {
  return request({
    url: '/secondTrial/secondTrialList',
    method: 'get',
    params: data
  })
}

//查询审核状态
export function findAuditStatus(data) {
  return request({
    url: '/secondTrial/auditStatus/'+ data,
    method: 'get'
  })
}

// //查询风控数据
// export function inquireRiskControl(data) {
//   return request({
//     url: '/secondTrial/inquireRiskControl/'+data,
//     method: 'get'
//   })
// }

//添加、编辑风控数据
export function updateRiskControl(data) {
  return request({
    url: '/secondTrial/updateRiskControl',
    method: 'put',
    data: data
  })
}
